package DBLayer;
import ModelLayer.*;
import java.util.ArrayList;
/**
 * Interface to the DBCustomer
 */
public interface IFDBSupplier {
 
    public ArrayList<Supplier> getAllSupplier(boolean retriveAssociation);

    public Supplier findSupplier(int SupplierID, boolean retriveAssociation);
   
    public Supplier searchSupplierName( String name, boolean retriveAssociation);
    public Supplier searchSupplierOnID( int ID, boolean retriveAssociation);

    public int insertSupplier(Supplier sup);
  
    public int updateSupplier(Supplier sup);
    
}